<!DOCTYPE html>
<html ng-app="myApp">

<head>
	<meta charset="utf-8">
</head>
<script src="angular-1.5.8/angular.min.js"></script>
<body ng-app="myApp">

	<w3-test-directive></w3-test-directive>

	<script>
		var app = angular.module("myApp", []);
		app.directive("w3TestDirective", function() {
			return {
				template : "<h1>Made by a directive!</h1>"
			};
		});
	</script>

</body>
</body>

</html>